<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
				list-style: none;
			}
			body{
				display: flex;
				justify-content: center;
				align-items: center;
				height: 100vh;
			}
			div.silde{
				width:204px;
				height: 100px;
				border: 2px dashed purple;
				overflow: hidden;
			}
			/* div.list:hover{
				cursor: pointer;
				animation-play-state: paused;
			} */
			ul.list{
				width: 816px;
				height: inherit;
				/* border: 5px dashed blue; */
				position: relative;
				z-index: -1;
				animation: move 4s ease infinite;
			}
			li.item{
				width: 200px;
				height: 96px;
				border: 2px solid pink;
				background-color: wheat;
				color: #fff;
				font-size: 20px;
				text-align: center;
				line-height: 100px;
				float:left;
			}
			
			@keyframes move{
				0%{
					transform: translate(0px);
				}
				33%{
					transform: translate(-204px);
				}
				66%{
					transform: translate(-408px);
				}
				100%{
					transform: translate(-610px);
				}
			}
		</style>
	</head>
	<body>
		<div class="silde">
			<ul class="list">
				<li class="item">1</li>
				<li class="item">2</li>
				<li class="item">3</li>
				
				<li class="item">1</li>
			</ul>
		</div>
	</body>
</html>
